package com.giaothong.customview;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;

import com.giaothong.R;

public class MenuMainView extends LinearLayout {
	private View layout;

	public MenuMainView(Context context) {
		super(context);
		init();
	}

	public MenuMainView(Context context, AttributeSet attrs) {
		super(context, attrs);
		init();
	}

	/**
	 * init view
	 */
	private void init() {
		LayoutInflater inflater = (LayoutInflater) getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		layout = inflater.inflate(R.layout.layout_menu, this);
		layout.findViewById(R.id.topBar).setOnClickListener(new OnClickListener() {

			public void onClick(View v) {

			}
		});
	}

}
